//
//  SecondRootCollectionReusableView.m
//  结伴
//
//  Created by eliot on 16/8/9.
//  Copyright © 2016年 aleven. All rights reserved.
//

#import "SecondRootCollectionReusableView.h"

@implementation SecondRootCollectionReusableView

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = eceColor;
}

//对象
- (IBAction)ObjbtnClik:(id)sender {

    if (_objetblock) {
        _objetblock();
    }

}
//心情
- (IBAction)MoodClik:(id)sender {
    
    if (_MoodClikblock) {
        _MoodClikblock();
    }
}
//方式
- (IBAction)ModeClik:(id)sender {
    
    
    if (_ModeClikblock) {
        _ModeClikblock();
    }
}


- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes{
    NSLog(@"3");
}

// Override these methods to provide custom UI for specific layouts.
- (void)willTransitionFromLayout:(UICollectionViewLayout *)oldLayout toLayout:(UICollectionViewLayout *)newLayout{
    NSLog(@"2");
}
- (void)didTransitionFromLayout:(UICollectionViewLayout *)oldLayout toLayout:(UICollectionViewLayout *)newLayout{
    
    NSLog(@"1");
    
}

//- (UICollectionViewLayoutAttributes *)preferredLayoutAttributesFittingAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes {
//    
//}


@end
